﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: PointLogEntity.cs
// 修改时间：2020-9-8 10:40:07
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：PointLog 的实体类.
	/// </summary>
	[Table("PointLog")]
	public partial class PointLogEntity
	{
		#region Properties
		private int? _logID = 0;
		/// <summary>
		/// 消费点券记录ID(主键)(自增长)
		/// </summary>
		[Column("LogID",TypeName="int")]
		[Key]
		[MyFlag("Identity")]
		public int? LogID
		{
			get {return _logID;}
			set {_logID = value;}
		}
		
		private System.String _userName = string.Empty;
		/// <summary>
		/// 用户名
		/// </summary>
		[Column("UserName",TypeName="nvarchar(100)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String UserName
		{
			get {return _userName;}
			set {_userName = value;}
		}
		
		private int? _moduleType = 0;
		/// <summary>
		/// 信息所属功能模块
		/// </summary>
		[Column("ModuleType",TypeName="int")]
		public int? ModuleType
		{
			get {return _moduleType;}
			set {_moduleType = value;}
		}
		
		private int? _infoID = 0;
		/// <summary>
		/// 信息ID
		/// </summary>
		[Column("InfoID",TypeName="int")]
		public int? InfoID
		{
			get {return _infoID;}
			set {_infoID = value;}
		}
		
		private int? _point = 0;
		/// <summary>
		/// 点数
		/// </summary>
		[Column("Point",TypeName="int")]
		public int? Point
		{
			get {return _point;}
			set {_point = value;}
		}
		
		private DateTime? _logTime = null;
		/// <summary>
		/// 消费时间
		/// </summary>
		[Column("LogTime",TypeName="datetime")]
		public DateTime? LogTime
		{
			get {return _logTime;}
			set {_logTime = value;}
		}
		
		private int? _times = 0;
		/// <summary>
		/// 次数
		/// </summary>
		[Column("Times",TypeName="int")]
		public int? Times
		{
			get {return _times;}
			set {_times = value;}
		}
		
		private int? _incomePayOut = 0;
		/// <summary>
		/// 消费明细类型  1--收入  2--支出
		/// </summary>
		[Column("IncomePayOut",TypeName="int")]
		public int? IncomePayOut
		{
			get {return _incomePayOut;}
			set {_incomePayOut = value;}
		}
		
		private System.String _remark = string.Empty;
		/// <summary>
		/// 备注
		/// </summary>
		[Column("Remark",TypeName="nvarchar(MAX)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Remark
		{
			get {return _remark;}
			set {_remark = value;}
		}
		
		private System.String _ip = string.Empty;
		/// <summary>
		/// IP地址
		/// </summary>
		[Column("IP",TypeName="nvarchar(100)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String IP
		{
			get {return _ip;}
			set {_ip = value;}
		}
		
		private System.String _inputer = string.Empty;
		/// <summary>
		/// 录入者
		/// </summary>
		[Column("Inputer",TypeName="nvarchar(100)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Inputer
		{
			get {return _inputer;}
			set {_inputer = value;}
		}
		
		private System.String _memo = string.Empty;
		/// <summary>
		/// 内部记录
		/// </summary>
		[Column("Memo",TypeName="nvarchar(MAX)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Memo
		{
			get {return _memo;}
			set {_memo = value;}
		}
		
		#endregion
	}
}
